package com.example.strategy;

import org.springframework.stereotype.Component;

/**
 * 花呗支付策略类
 * @author liuxm34
 * @since 2025/4/30
 */
@Component("paypal")
public class PayPalPaymentStrategy implements PaymentStrategy {
    @Override
    public void pay(double amount) {
        System.out.println("使用花呗支付 " + amount + " 元.");
    }
}